import request from '@/utils/request'

// 登录接口
export function login(data) {
  return request({
    url: '/auth/local',
    method: 'post',
    data
  })
}

// 用户详细信息
export function getPersonalUser() {
  return request({
    url: '/users/me'
  })
}

export function getpage() {
  return request({
    url: '/pages?_limit=2&_start=0&title_contains=关于我们',
    method: 'get'
  })
}
